package com.mmy.domain.oa;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.NamedQuery;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


/**
 * The persistent class for the vSysLeaveInfo database table.
 * 
 */
@Entity
@Table(name="vSysLeaveInfo")
@NamedQuery(name="VSysLeaveInfo.findAll", query="SELECT v FROM VSysLeaveInfo v")
public class VSysLeaveInfo  {
	private static final long serialVersionUID = 1L;

	private String cCreator;

	private String cMemo;

	private String cMessage;

	private String cMrgName;

	private String cReason;

	private String cReviser;

	private String cSpare1;

	private String cSpare2;

	private String cSpare3;

	private String cSpare4;

	private String cSpare5;

	private String cTypeName;

	private String cUserName;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dConfirm;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dCreateDate;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dEnd;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dModifyDate;

	@Temporal(TemporalType.TIMESTAMP)
	private Date dStart;

	private byte iDay;

	private byte iFlag;

	@Id
	@GeneratedValue(strategy = GenerationType.TABLE)
	private int iLeaveID;

	private int iMrgID;

	private byte iState;

	private int iTypeID;

	private int iUserID;

	public VSysLeaveInfo() {
	}

	public String getCreator() {
		return this.cCreator;
	}

	public void setCreator(String cCreator) {
		this.cCreator = cCreator;
	}

	public String getMemo() {
		return this.cMemo;
	}

	public void setMemo(String cMemo) {
		this.cMemo = cMemo;
	}

	public String getMessage() {
		return this.cMessage;
	}

	public void setMessage(String cMessage) {
		this.cMessage = cMessage;
	}

	public String getMrgName() {
		return this.cMrgName;
	}

	public void setMrgName(String cMrgName) {
		this.cMrgName = cMrgName;
	}

	public String getReason() {
		return this.cReason;
	}

	public void setReason(String cReason) {
		this.cReason = cReason;
	}

	public String getReviser() {
		return this.cReviser;
	}

	public void setReviser(String cReviser) {
		this.cReviser = cReviser;
	}

	public String getSpare1() {
		return this.cSpare1;
	}

	public void setSpare1(String cSpare1) {
		this.cSpare1 = cSpare1;
	}

	public String getSpare2() {
		return this.cSpare2;
	}

	public void setSpare2(String cSpare2) {
		this.cSpare2 = cSpare2;
	}

	public String getSpare3() {
		return this.cSpare3;
	}

	public void setSpare3(String cSpare3) {
		this.cSpare3 = cSpare3;
	}

	public String getSpare4() {
		return this.cSpare4;
	}

	public void setSpare4(String cSpare4) {
		this.cSpare4 = cSpare4;
	}

	public String getSpare5() {
		return this.cSpare5;
	}

	public void setSpare5(String cSpare5) {
		this.cSpare5 = cSpare5;
	}

	public String getTypeName() {
		return this.cTypeName;
	}

	public void setTypeName(String cTypeName) {
		this.cTypeName = cTypeName;
	}

	public String getUserName() {
		return this.cUserName;
	}

	public void setUserName(String cUserName) {
		this.cUserName = cUserName;
	}

	public Date getConfirm() {
		return this.dConfirm;
	}

	public void setConfirm(Date dConfirm) {
		this.dConfirm = dConfirm;
	}

	public Date getCreateDate() {
		return this.dCreateDate;
	}

	public void setCreateDate(Date dCreateDate) {
		this.dCreateDate = dCreateDate;
	}

	public Date getEnd() {
		return this.dEnd;
	}

	public void setEnd(Date dEnd) {
		this.dEnd = dEnd;
	}

	public Date getModifyDate() {
		return this.dModifyDate;
	}

	public void setModifyDate(Date dModifyDate) {
		this.dModifyDate = dModifyDate;
	}

	public Date getStart() {
		return this.dStart;
	}

	public void setStart(Date dStart) {
		this.dStart = dStart;
	}

	public byte getDay() {
		return this.iDay;
	}

	public void setDay(byte iDay) {
		this.iDay = iDay;
	}

	public byte getFlag() {
		return this.iFlag;
	}

	public void setFlag(byte iFlag) {
		this.iFlag = iFlag;
	}

	public int getLeaveID() {
		return this.iLeaveID;
	}

	public void setLeaveID(int iLeaveID) {
		this.iLeaveID = iLeaveID;
	}

	public int getMrgID() {
		return this.iMrgID;
	}

	public void setMrgID(int iMrgID) {
		this.iMrgID = iMrgID;
	}

	public byte getState() {
		return this.iState;
	}

	public void setState(byte iState) {
		this.iState = iState;
	}

	public int getTypeID() {
		return this.iTypeID;
	}

	public void setTypeID(int iTypeID) {
		this.iTypeID = iTypeID;
	}

	public int getUserID() {
		return this.iUserID;
	}

	public void setUserID(int iUserID) {
		this.iUserID = iUserID;
	}

}
